package com.oplink.webems.modules.cfg.services;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.oplink.webems.modules.alarm.dao.AlarmSeverDao;
import com.oplink.webems.modules.alarm.entity.AlarmSeverity;

/**
 * 严重程度
 * @author yizhang
 */

@Component
@Transactional
public class CfgSeverityService {

	@Autowired
	private AlarmSeverDao seveDao;
	
	public List<AlarmSeverity> getAllSeverity() {
		return (List<AlarmSeverity>)seveDao.findAll();
	}		
}
